﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;
namespace OneMG.Phoenix.Respository
{
    public interface IRightsType
    {
    
        System.Int32 AddRightsType(ERightsType rightsType);

        void UpdateByTypeID(ERightsType rightsType);

		void DeleteByTypeID(System.Int32 typeID);
		 
        ERightsType GetByTypeID(System.Int32  typeID);

        IList<ERightsType> GetAll();


    }
}